﻿namespace ScrumLite.WebUx.SharedViews
{
    using System;
    using System.Web.Mvc;

    public class ContextUserControl<TViewData> : ViewUserControl<TViewData>
    {
        public new BaseHtmlHelper Html { get; set; }
        public new BaseUrlHelper Url { get; set; }

        protected override void OnLoad(EventArgs e)
        {
            this.Html = new BaseHtmlHelper(ViewContext);
            this.Url = new BaseUrlHelper(ViewContext);
            base.OnLoad(e);
        }
    }
}
